﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="BPIUserInfoDataSet" targetNamespace="http://tempuri.org/BPIUserInfoDataSet.xsd" xmlns:mstns="http://tempuri.org/BPIUserInfoDataSet.xsd" xmlns="http://tempuri.org/BPIUserInfoDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="BPIUserInfoConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="BPIUserInfoConnectionString (Settings)" PropertyReference="ApplicationSettings.BPILottery.Properties.Settings.GlobalReference.Default.BPIUserInfoConnectionString" Provider="System.Data.OleDb" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BPI_User_InfoTableAdapter" GeneratorDataComponentClassName="BPI_User_InfoTableAdapter" Name="BPI_User_Info" UserDataComponentName="BPI_User_InfoTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="BPIUserInfoConnectionString (Settings)" DbObjectName="BPI_User_Info" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM `BPI_User_Info` WHERE ((`ID` = ?) AND ((? = 1 AND `人员编号` IS NULL) OR (`人员编号` = ?)) AND ((? = 1 AND `姓名` IS NULL) OR (`姓名` = ?)) AND ((? = 1 AND `性别` IS NULL) OR (`性别` = ?)) AND ((? = 1 AND `二级部门` IS NULL) OR (`二级部门` = ?)) AND ((? = 1 AND `人员状态` IS NULL) OR (`人员状态` = ?)) AND ((? = 1 AND `Field6` IS NULL) OR (`Field6` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_人员编号" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="人员编号" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_人员编号" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="人员编号" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_姓名" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="姓名" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_姓名" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="姓名" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_性别" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="性别" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_性别" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="性别" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_二级部门" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="二级部门" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_二级部门" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="二级部门" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_人员状态" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="人员状态" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_人员状态" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="人员状态" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Field6" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Field6" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Field6" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Field6" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO `BPI_User_Info` (`人员编号`, `姓名`, `性别`, `二级部门`, `人员状态`, `Field6`) VALUES (?, ?, ?, ?, ?, ?)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="人员编号" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="人员编号" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="姓名" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="姓名" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="性别" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="性别" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="二级部门" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="二级部门" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="人员状态" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="人员状态" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Field6" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Field6" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ID, 人员编号, 姓名, 性别, 二级部门, 人员状态, Field6 FROM BPI_User_Info</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE `BPI_User_Info` SET `人员编号` = ?, `姓名` = ?, `性别` = ?, `二级部门` = ?, `人员状态` = ?, `Field6` = ? WHERE ((`ID` = ?) AND ((? = 1 AND `人员编号` IS NULL) OR (`人员编号` = ?)) AND ((? = 1 AND `姓名` IS NULL) OR (`姓名` = ?)) AND ((? = 1 AND `性别` IS NULL) OR (`性别` = ?)) AND ((? = 1 AND `二级部门` IS NULL) OR (`二级部门` = ?)) AND ((? = 1 AND `人员状态` IS NULL) OR (`人员状态` = ?)) AND ((? = 1 AND `Field6` IS NULL) OR (`Field6` = ?)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="人员编号" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="人员编号" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="姓名" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="姓名" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="性别" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="性别" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="二级部门" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="二级部门" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="人员状态" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="人员状态" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Field6" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Field6" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="Original_ID" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_人员编号" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="人员编号" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_人员编号" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="人员编号" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_姓名" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="姓名" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_姓名" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="姓名" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_性别" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="性别" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_性别" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="性别" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_二级部门" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="二级部门" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_二级部门" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="二级部门" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_人员状态" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="人员状态" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_人员状态" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="人员状态" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="IsNull_Field6" Precision="0" ProviderType="Integer" Scale="0" Size="0" SourceColumn="Field6" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="Original_Field6" Precision="0" ProviderType="VarWChar" Scale="0" Size="0" SourceColumn="Field6" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="人员编号" DataSetColumn="人员编号" />
              <Mapping SourceColumn="姓名" DataSetColumn="姓名" />
              <Mapping SourceColumn="性别" DataSetColumn="性别" />
              <Mapping SourceColumn="二级部门" DataSetColumn="二级部门" />
              <Mapping SourceColumn="人员状态" DataSetColumn="人员状态" />
              <Mapping SourceColumn="Field6" DataSetColumn="Field6" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="BPIUserInfoConnectionString (Settings)" DbObjectName="BPI_User_Info" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillBy" GenerateMethods="Fill" GenerateShortCommands="true" GeneratorSourceName="FillBy" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FillBy">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ID, 人员编号, 姓名, 性别, 二级部门, 人员状态, Field6 FROM BPI_User_Info</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="BPIUserInfoDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="BPIUserInfoDataSet" msprop:Generator_UserDSName="BPIUserInfoDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="BPI_User_Info" msprop:Generator_TableClassName="BPI_User_InfoDataTable" msprop:Generator_TableVarName="tableBPI_User_Info" msprop:Generator_RowChangedName="BPI_User_InfoRowChanged" msprop:Generator_TablePropName="BPI_User_Info" msprop:Generator_RowDeletingName="BPI_User_InfoRowDeleting" msprop:Generator_RowChangingName="BPI_User_InfoRowChanging" msprop:Generator_RowEvHandlerName="BPI_User_InfoRowChangeEventHandler" msprop:Generator_RowDeletedName="BPI_User_InfoRowDeleted" msprop:Generator_RowClassName="BPI_User_InfoRow" msprop:Generator_UserTableName="BPI_User_Info" msprop:Generator_RowEvArgName="BPI_User_InfoRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
              <xs:element name="人员编号" msprop:Generator_ColumnVarNameInTable="column人员编号" msprop:Generator_ColumnPropNameInRow="人员编号" msprop:Generator_ColumnPropNameInTable="人员编号Column" msprop:Generator_UserColumnName="人员编号" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="姓名" msprop:Generator_ColumnVarNameInTable="column姓名" msprop:Generator_ColumnPropNameInRow="姓名" msprop:Generator_ColumnPropNameInTable="姓名Column" msprop:Generator_UserColumnName="姓名" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="性别" msprop:Generator_ColumnVarNameInTable="column性别" msprop:Generator_ColumnPropNameInRow="性别" msprop:Generator_ColumnPropNameInTable="性别Column" msprop:Generator_UserColumnName="性别" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="二级部门" msprop:Generator_ColumnVarNameInTable="column二级部门" msprop:Generator_ColumnPropNameInRow="二级部门" msprop:Generator_ColumnPropNameInTable="二级部门Column" msprop:Generator_UserColumnName="二级部门" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="人员状态" msprop:Generator_ColumnVarNameInTable="column人员状态" msprop:Generator_ColumnPropNameInRow="人员状态" msprop:Generator_ColumnPropNameInTable="人员状态Column" msprop:Generator_UserColumnName="人员状态" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Field6" msprop:Generator_ColumnVarNameInTable="columnField6" msprop:Generator_ColumnPropNameInRow="Field6" msprop:Generator_ColumnPropNameInTable="Field6Column" msprop:Generator_UserColumnName="Field6" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:BPI_User_Info" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
  </xs:element>
</xs:schema>